package com.test.springboot3.springboot3testdemo1.dao;

import com.test.springboot3.springboot3testdemo1.entity.UserMongoEntity;
import java.util.List;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * Created with IntelliJ IDEA.
 *
 * @author： liuziyang
 * @date： 2024/8/5-下午7:48
 * @description：
 * @modifiedBy：
 * @version: 1.0
 */
public interface UserRepository extends MongoRepository<UserMongoEntity, Long> {
  List<UserMongoEntity> findByName(String name);
}
